package com.tuyrt.firstcode.kotlin.delegate

/**
 * Created by tuyrt7 on 2021/4/9.
 * 类委托
 */
class MySet<T>(val helperSet: HashSet<T>) : Set<T> by helperSet {

    override fun isEmpty() = false

    fun hello() {
        println("hello world")
    }
}